<?php
require_once('App-Top.php');
require_once('Authorizer.php');
require_once('GenFunctions.php');
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
        <title>Member Create Success</title>
        <link href="StyleControl.css" rel="stylesheet" type="text/css" />
    </head>
    <body>

        <div id="sidebar">
            <h3>Reports</h3>
            <ul>
                <li><a href="#">Gate List</a></li>
                <li><a href="#">Members List</a></li>
            </ul>


            <?php
                require_once('MenuAdmin.php');
            ?>
        </div>

        <div id="mainbody">

            <h1>Member Creation Success</h1> <br />

            <p>The member was created successfully!.</p>
            <p>Please select one of the Links from the Menu on the Left.</p>


            <?php
            if (isset($_SESSION['ERRMSG_ARR']))
            {
                echo '<p class="error">Please correct the following errors: </p><br />';

                $errmsg_arr = $_SESSION['ERRMSG_ARR'];
                foreach ($errmsg_arr as $value) {
                    echo "<p class='error'>$value</p><br />";
                }

                unset ($_SESSION['ERRMSG_ARR']);
            }

            if (isset($_SESSION['FORMS']['FormCreateMember'])){
                    unset ($_SESSION['FORMS']['FormCreateMember']);
            }

            ?>


        </div>

    </body>
</html>
<?php
require_once('App-End.php');
?>

<!-- Designed: Jose Trujillo - 2011 -->